<?php 
	include_once('DAODiaInhabil.php');

	//if(isset($_POST['fecha'])){
		//$sFechaDiaInhabil = $_POST['fecha'];
		$sFechaDiaInhabil = '2011-09-24';
		$oDaoDiaInhabil = new DAODiaInhabil;
		$iEsDiaInhabil = $oDaoDiaInhabil->esDiaInhabil($sFechaDiaInhabil);
		echo $iEsDiaInhabil; 
	/*}else
		echo 2;*/
?>